package com.example.wei.mvp.component;
import com.example.wei.mvp.ui.activity.GuidanceActivity;
import com.example.wei.mvp.ui.activity.LoginActivity;
import com.example.wei.mvp.ui.activity.MainActivity;
import com.example.wei.mvp.ui.activity.SettingActivity;
import com.example.wei.mvp.ui.activity.WelcomeActivity;

import dagger.Component;

/**
 * 用@Component表示这个接口是一个连接器，能用@Component注解的只能是interface或者抽象类
 * Created by Administrator on 2017/5/4.
 */


@Component(dependencies = AppComponent.class)
public interface MainComponent {

    MainActivity inject(MainActivity activity);

    LoginActivity inject(LoginActivity activity);

    SettingActivity inject(SettingActivity activity);

    GuidanceActivity inject(GuidanceActivity activity);

    WelcomeActivity inject(WelcomeActivity activity);
}
